/*
** convert_to_hex_small.c for  in /home/georgi_v/rendu/PSU_2013_my_printf
** 
** Made by georgi_v
** Login   <georgi_v@epitech.net>
** 
** Started on  Sun Nov 17 05:47:19 2013 georgi_v
** Last update Fri Dec  6 19:43:07 2013 georgi_v
*/

#include <unistd.h>
#include "my.h"

int     convert_to_str(va_list list)
{
  char  *result;

  result = va_arg(list, char *);
  if (result == NULL)
    return (write(1, "(null)", my_strlen("(null)")));
  return (write(1, result, my_strlen(result)));
}
